﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace PlayField
{
    public static class Drawer
    {

        public static void DrawGameField(GameField gf, char ch)
        {
            for (int i = gf.Width-1; i < gf.Width+1; i++)
            {
                for (int j = gf.Heigth-1; j < gf.Heigth+1; j++)
                {
                    if (i== gf.Width - 1 || i==gf.Width+1 || j== gf.Heigth - 1 || j==gf.Heigth+1)
                    {
                        Console.Write(ch);
                    }
                    else
                    {
                        Console.Write(' ');
                    }
                }
                Console.WriteLine();
            }
        }

    }
}
